# ACTION: initialize from ./
test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
tool=$(readlink -e "${tool%/*}"/...)
- . "$tool"/lib/install.sh
+ . "$tool"/lib/tool/admin/lib/install.sh
# ACTIONÂ install ./etc/nginx/org/heureux-cyclage/
content=$("$tool"/cat etc/nginx/org/heureux-cyclage/key.pem)
- "$tool"/ssh-sudo install -m 400 -o root -g root /dev/stdin \
+ "$tool"/ssh-sudo install -d -m 755 -o root -g root \
+ /etc/nginx/org \
+ /etc/nginx/org/heureux-cyclage \
+ "&&" \
+ $sudo install -m 400 -o root -g root /dev/stdin \
/etc/nginx/org/heureux-cyclage/key.pem <<-EOF
$content
EOF